package com.yict.csms.resourceplan.dao.impl;

import org.springframework.stereotype.Repository;

import com.yict.common.dao.impl.CommonDao;
import com.yict.csms.resourceplan.dao.IRtgcFlContractorDao;
import com.yict.csms.resourceplan.entity.RtgcFlContractor;

@Repository
public class RtgcFlContractorDaoImpl extends CommonDao<RtgcFlContractor, Long> implements IRtgcFlContractorDao {

	public RtgcFlContractor findbyId(Long id) {
		RtgcFlContractor t = null;
		try {
			Object obj = this.getTemplate().get(RtgcFlContractor.class, id);
			t = (RtgcFlContractor) obj;
		} catch (Exception e) {
			logger.error(e);
		}
		return t;
	}
}
